#ifndef GRAYSCALERECONSTRUCTACTION_H
#define GRAYSCALERECONSTRUCTACTION_H
#include "AbstractAction.h"
#include "TopHat.h"
#include "Ptr.hpp"



using namespace OOPUtils;



class GrayscaleReconstructAction : public AbstractAction
{
public:

	GrayscaleReconstructAction ();

	virtual void updatePreview (QRect viewport);

	virtual void handleStartEvent ();

	virtual void rejectAction ();

	virtual void applyAction ();

	void setStructElem (Core< int > structElem);

	void setActionType (int t);

private:

	Core< int > _structElem;

	int _type;

};

#endif // GRADIENTACTION_H
